package com.gxa.meiye.admin.platform.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.gxa.meiye.admin.platform.pojo.vo.CouponManageVo;
import com.gxa.meiye.admin.platform.pojo.vo.DetailsCouponVo;
import com.gxa.meiye.admin.platform.pojo.vo.DetailsUserCouVo;

import java.util.List;

public interface CouponmanageMapper extends BaseMapper<CouponManageVo> {
    List<CouponManageVo> queryAll();
    List<CouponManageVo> selectAll(String name_id);
    void addCoupon(String coupon_id, String title, Integer type, Double money, String datatime, Integer total, Integer status, Integer user_max, Integer issuing_condition, Integer existing_quantity, String created_time);
    void deleteCoupon(Integer id);
    List<DetailsCouponVo> queryCoupon(Integer id);
    List<DetailsUserCouVo> queryCouponde(Integer id);
    List<DetailsUserCouVo> selectCouponde(String tempall);

}
